package cn.hnevc.xiaohui;

public class ExampleTes14 {

	public static void main(String[] args) {
		// TODO 自动生成的方法存根
			String string="String";
			String string1="Str";
			System.out.println(string.startsWith("Str"));
			System.out.println(string.endsWith("ng"));
			System.out.println(string.contains("tri"));
			System.out.println(string.isEmpty());
			System.out.println(string.equals(string1));
		}
	

	}


